import java.util.Scanner;

public class Solution
{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String line = sc.nextLine();
		int n = Integer.parseInt(line);
		
		line = sc.nextLine();
		String[] numbers = line.split(" ");
		int[] arr = new int[n];
		int[] count = new int[100];
		
		for(int i = 0; i < n ; i++){
				arr[i] = Integer.parseInt(numbers[i]);
				count[arr[i]]++;
		}
		
		for(int i = 0; i < count.length ; i++){
				System.out.print(count[i]+  " ");
		}
		System.out.println();
	}
}